package com.itheima.ydd.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.ydd.dto.CateInfo;
import com.itheima.ydd.entity.Cate;

import java.util.HashMap;
import java.util.List;

public interface CateService extends IService<Cate> {
    /**
     * 获取分类下文章数量
     * @return
     */
    List<CateInfo> getAllCate();

    HashMap<String, Object> getPageHashMap(String catename, Integer page, Integer limit);

}
